avformat/mov: don't return the latest stream when an item stream is expected
authorJames Almer <jamrial@gmail.com>
Mon, 30 Sep 2024 13:59:02 +0000 (10:59 -0300)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 21 Feb 2025 12:16:27 +0000 (13:16 +0100)
commit70ac2e342a1652672559c42db3e542b601a79450
tree9c25b5e46b575c9b134432a5e109f3ea72f6cbae
parent362ca4a2743e4d6229de9919ba00c28884bb8f28
avformat/mov: don't return the latest stream when an item stream is expected

Otherwise, things like ICC profiles as read from the colr box meant for an item
with no stream (like a grid) may end up being added to the wrong stream.

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 04182b55494b44152146e6a6bcd5eb9403f00625)

Gbp-Pq: Name 0001-avformat-mov-don-t-return-the-latest-stream-when-an-.patch
libavformat/mov.c